#ifndef __REALTIME_H__
#define __REALTIME_H__

#ifdef __cplusplus
extern "C" {
#endif

// Get current time from system stared, in milliseconds
unsigned long os_GetCurTime(void);

// Suspend the execution of the current thread, in milliseconds
void os_Sleep(int ms);

// Check for system been terminated, ap may show a message to user
int  os_IsSystemTerm();

#ifdef __cplusplus
}
#endif

#endif	// __REALTIME_H__
